<%@ page language="Java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.sql.*"%>
<% 
String path = request.getContextPath(); 
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 
%>
<html>
  <head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">    
    <title>添加学生信息</title>        
 </head>
 <body>
 <form action="<%=path %>/sl/10/9/addStudentInfo.jsp" method="post" onsubmit="return check(this);">
 	<table align="center" width="450">
 		<tr>
 			<td align="center" colspan="2">
 				<h2>添加学生信息</h2>
 				<hr>
 			</td>
 		</tr>
 		<tr>
 			<td align="right">姓名：</td>
 			<td><input type="text" name="name"/></td>
 		</tr>
 		<tr>
 			<td align="right">性别：</td>
 			<td>
				<input type="radio" name="sex" value="true" checked="checked"/>男
				<input type="radio" name="sex" value="false"/>女
			</td>
 		</tr>
 		<tr>
 			<td align="right">年龄：</td>
 			<td><input type="text" name="age"/></td>
 		</tr>
 		<tr>
			<td align="right">班级：</td>
			<td><input type="text" name="classes" /></td>
		</tr>
 		<tr>
 			<td align="right" colspan="2">
 				<input type="submit" value="添加">
 			</td>
 		</tr>
 	</table>
 </form>
 </body>
</html>